package cn.edu.xmu.orderpayment.order.model.retvo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.ZonedDateTime;

/**
 * @author ziyi guo
 * @date 2021/12/10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SimpleOrderInfoRetVo {
    private Long id;
    private Long customerId;
    private Long shopId;
    private Long pid;
    private Integer state;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "uuuu-MM-dd'T'HH:mm:ss.SSSZZZZZ")
    private ZonedDateTime gmtCreate;
    private Long originPrice;
    private Long discountPrice;
    private Long expressFee;
    private Long point;
    private Long grouponId;
    private Long advancesaleId;
    private String shipmentSn;
}
